package com.crape.topic.dao;

import com.crape.common.exceptions.DAOException;
import com.crape.common.model.SubjectRef;

public interface ISubjectRefDAO {

	Integer countSubjectRefs(Long subjectid) throws DAOException;

	Integer countSubjectRefs(SubjectRef topicRef) throws DAOException;

	void insertSubjectRef(SubjectRef topicRef) throws DAOException;

	void deleteSubjectRef(SubjectRef topicRef) throws DAOException;

	void backupSubjectRef(SubjectRef topicRef) throws DAOException;

}
